package com.yuuko.yuukoapi.model.base

import org.babyfish.jimmer.sql.Column
import org.babyfish.jimmer.sql.MappedSuperclass
import java.time.LocalDateTime

@MappedSuperclass
interface BaseEntity {
    /**
     *  status

     */
    val status: Int?

    /**
     *  is_deleted

     */
    @Column(name = "is_deleted")
    val isDeleted: Boolean?

    /**
     *  created_at

     */
    @Column(name = "created_at")
    val createdAt: LocalDateTime?

    /**
     *  updated_at

     */
    @Column(name = "updated_at")
    val updatedAt: LocalDateTime?

    /**
     *  deleted_at

     */
    @Column(name = "deleted_at")
    val deletedAt: LocalDateTime?
}